# Makefile for tests
flags= -Wall
libs=`allegro-config --cflags --libs`
cc=g++ $(flags) $(libs)

PROG = TESTS
OBJS = ../game/managers/DrawManager.o ../game/entities/Entity.o  \
	DrawManagerTest.o ../game/entities/Rock.o ../game/managers/SubManager.o

$(PROG): $(OBJS)
	$(cc) -o runner.bin $(OBJS) runner.cpp

DrawManagerTest.o: ../game/entities/Rock.o
	$(cc) -c DrawManagerTest.cpp

clean:
	rm -f *.o *.bin
